home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / cli / WinSize.lha / WinSize.doc < prev   
Text File  |  1994-11-14  |  2KB  |  71 lines

  1.     WinSize by Staffan Palmroos 1994
  2.     --------------------------------
  3.  
  4. Why?
  5.  
  6.    One day, when customizing my workbench, I found myself wanting to
  7. know how big a CLI-Window was, so that I could make it open with that
  8. size every time. But I didn't know how to get that information so i
  9. wrote this little utility.
  10.  
  11. How?
  12.  
  13.    Using it is simple. Type 'WinSize' in a CLI window, and it will
  14. tell you how large it is. There is no icon supplied because it is
  15. meaningless to run it from WorkBench. It has even one option: -c. If
  16. you specify this option WinSize will give you a string suitable for
  17. backquoting, for example:
  18.  
  19.       echo NewCli CON:`WinSize -c`AmigaDOS >>s:user-startup
  20.  
  21.    This line will add a line in your user-startup that looks like
  22.  
  23.       NewCli CON:L/T/W/H/AmigaDOS
  24.  
  25.    Where L T W H is the size and position  of the window. This line
  26. will open a CLI window with the same size as the window you typed the
  27. line in.
  28.  
  29. Size?
  30.  
  31.    The program is 5080 (according to LIST) bytes. If your version is
  32. larger, it could be infected by a virus or something, so be warned!
  33.  
  34. Who?
  35.  
  36.    I can be contacted over the net: d93stapa@isy.liu.se. You could
  37. also make me happy by sending a postcard from your home town. My
  38. address:
  39.  
  40.     Staffan Palmroos
  41.     Rydsvägen 250 C:17
  42.     582 51 Linkoping
  43.     Sweden.
  44.  
  45. Cost?
  46.  
  47.    This program is What-Ever-You-Want-Ware, that is, you can do what
  48. ever you want with it: copy it, sell it, dissect it, erase it. There
  49. is only one thing you can't do, and that is to blame me for any
  50. inconveniance. I won't be responsible if anything happens that
  51. shouldn't happen due to my program.
  52.  
  53. Code?
  54.  
  55.    I supply the source code, as a tutoring example of how you can find
  56. out a Windows size and other useful information. The code could
  57. probably be improved and optimized, but I don't find that neccesary.
  58. It is short enough, and it should be bug-free.
  59.  
  60. The end?
  61.  
  62.    Thanks for your time. I hope you find this program somewhat useful.
  63. Please excuse me for any grammatical or spelling errors, but English
  64. is not my native language.
  65.  
  66. Best regards,
  67.  
  68.   Staffan Palmroos.
  69.  
  70.  
  71.